﻿ALTER TABLE [Core].[Authorization]
    ADD CONSTRAINT [CK_Authorization_RoleOrPermisssion] CHECK ([RoleId] IS NOT NULL OR [PermissionId] IS NOT NULL);

